<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="../commons/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>修改分院</title>
    <link rel="stylesheet" href="<%=request.getContextPath() %>/static/css/pintuer.css">
    <link rel="stylesheet" href="<%=request.getContextPath() %>/static/css/admin.css">
    <script src="<%=request.getContextPath() %>/static/js/jquery.js"></script>
    <script src="<%=request.getContextPath() %>/static/js/pintuer.js"></script>
    <%-- <script type="text/javascript">
	<%if (session.getAttribute("access")==null){%>
		alert("请登录后访问！");
		parent.location.href='${pageContext.request.contextPath}/login';
	<% }%>
	</script> --%>
</head>
<body>
<div class="panel admin-panel margin-top">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改分院</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="doedit">
        	<%	String id=request.getParameter("id");
	            String address=request.getParameter("address");
	            String tele=request.getParameter("tele");
	            String hospitalName=request.getParameter("hospitalName");
       		%>
        	<input type="hidden" name="id" value="<%=id %>"/>
            <div class="form-group">
                <div class="label">
                    <label>分院名：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="hospitalName" value="<%=hospitalName %>" data-validate="required:请输入分院名" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>地址：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="address" value="<%=address %>" data-validate="required:请输入分院地址" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>联系电话：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="tele" value="<%=tele %>" data-validate="required:请输入联系电话" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                    <a class="button bg-red" href="outlogin" style="margin-left: 10px;"> 取消</a>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
<!-- <script>
$(function(){
	var m = document.getElementById("mes");
	console.log(m.value);
	if( m.value!="" ){
		alert(m.value);
	}
	m.value ="";
	console.log(m.value);
});
</script> -->
</html>